package cn.tedu.ivos2.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * VO是后端返回给前端的数据
 */
@Data
public class UserVO {
    @ApiModelProperty("用户编号")
    private Long id;
    @ApiModelProperty("名称")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("性别")
    private String gender;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updateTime;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("职级")
    private String level;
    @ApiModelProperty("直属领导id")
    private Long parentId;
}
